<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:p="http://primefaces.prime.com.tr/ui"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:h="http://java.sun.com/jsf/html">
    
    <body>
        
        <ui:composition template="./../template/layout.xhtml">
            
            <ui:define name="content">
                <p:wizard effect="slide" height="400" width="600">
                    <p:tab title="About You...">
                        <f:view>
                            <h:form>
                                <h1><h:outputText value="Create/Edit"/></h1>
                                <h:panelGrid columns="2">
                                    <h:outputLabel value="Bio:" for="bio" />
                                    <h:inputText id="bio" value="#{photographer.bio}" title="Bio" />
                                    <h:outputLabel value="EmailAddress:" for="emailAddress" />
                                    <h:inputText id="emailAddress" value="#{photographer.emailAddress}" title="EmailAddress" />
                                    <h:outputLabel value="Name:" for="name" />
                                    <h:inputText id="name" value="#{photographer.name}" title="Name" />
                                    <h:outputLabel value="PhoneNumber:" for="phoneNumber" />
                                    <h:inputText id="phoneNumber" value="#{photographer.phoneNumber}" title="PhoneNumber" />
                                </h:panelGrid>
                            </h:form>
                        </f:view>


                    </p:tab>
                    <p:tab title="About the gallery...">
                        <f:view>
                            <h:form>
                                <h1><h:outputText value="Create/Edit"/></h1>
                                <h:panelGrid columns="2">
                                    <h:outputLabel value="Name:" for="name" />
                                    <h:inputText id="name" value="#{gallery.name}" title="Name" />
                                </h:panelGrid>
                            </h:form>
                        </f:view>

                    </p:tab>
                    <p:tab title="And Now..">
                        <h:commandLink>Add albums and pictures into your new gallery</h:commandLink>
                        <h:commandLink>or visit it now</h:commandLink>

                    </p:tab>


                </p:wizard>
            </ui:define>

            <ui:define name="bottom">
                bottom
            </ui:define>

        </ui:composition>
        
    </body>
</html>
